package com.batchaps.classes;

import javax.microedition.lcdui.Graphics;

public abstract class Impediment {
	
	protected Sprite2D sprite2D;
	protected boolean isDraw;
	
	public abstract int getType();
	public abstract void Update();
	public abstract void Draw(Graphics g);
	/**
	 * @return the sprite2D
	 */
	public Sprite2D getSprite2D() {
		return sprite2D;
	}
	/**
	 * @param sprite2d the sprite2D to set
	 */
	public void setSprite2D(Sprite2D sprite2d) {
		sprite2D = sprite2d;
	}
	/**
	 * @return the isDraw
	 */
	public boolean isDraw() {
		return isDraw;
	}
	/**
	 * @param isDraw the isDraw to set
	 */
	public void setDraw(boolean isDraw) {
		this.isDraw = isDraw;
	}
	
}
